from django.urls import path
from myapp.views import *
urlpatterns = [
    # 校验用户名
    path('check/username/<str:name>/', CheckUserName.as_view()),
    # 校验手机号
    path('check/mobile/<str:mobile>/', CheckMobile.as_view()),
    # 生成图片验证码
    path('image_code/<str:uuid>/', TuCode.as_view()),
    # 校验图片验证码
    path('check_image_code/', CheckTu.as_view()),
    # 注册
    path('register/', Register.as_view()),
]
